namespace RabbitMQWeb.DB
{
    using System;
    using System.Data.Entity;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Linq;

    public  class Entity : DbContext
    {
        public Entity()
            : base("name=Entity")
        {
        }

        public virtual DbSet<RabbitMQ_UserInfo> RabbitMQ_UserInfo { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            modelBuilder.Entity<RabbitMQ_UserInfo>()
                .Property(e => e.Tel)
                .IsUnicode(false);
        }

      
    }
}
